<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>

                //8、数组1[1,2,3,4,5]与数组2[6,7,8,9]进行合并，得出数组[1,2,3,4,5,6,7,8,9]
    let array = [1,2,3,4,5];
    let array1 = [6,7,8,9];

    let newArray = array.concat(array1);
        console.log(newArray);
</script>
</html>